package com.strato.deploy.common;

import java.util.List;

public class BundleInfo {

	private String path;
	
	private String id;
	
	private String version;
	
	private List<PackageInfo> exportPackages;

	private List<PackageInfo> importPackages;
	
	private List<BundleInfo> requiredBundles;

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getVersion() {
		return version==null?"1.0.0":version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public List<PackageInfo> getExportPackages() {
		return exportPackages;
	}

	public void setExportPackages(List<PackageInfo> exportPackages) {
		this.exportPackages = exportPackages;
	}

	public List<PackageInfo> getImportPackages() {
		return importPackages;
	}

	public void setImportPackages(List<PackageInfo> importPackages) {
		this.importPackages = importPackages;
	}

	public List<BundleInfo> getRequiredBundles() {
		return requiredBundles;
	}

	public void setRequiredBundles(List<BundleInfo> requiredBundles) {
		this.requiredBundles = requiredBundles;
	}
	
}
